import React, { Component } from 'react';
import { View, Text } from 'react-native';
import ScrollableTabView, {
  ScrollableTabBar
} from 'react-native-scrollable-tab-view';
export default class FindPage extends Component {
  render() {
    let id = document.getElementById('id');
    return (
      <View>
        <ScrollableTabView
          style={{ marginTop: 20 }}
          initialPage={1}
          renderTabBar={() => <ScrollableTabBar />}>
          <Text tabLabel="Tab #1">My</Text>
          <Text tabLabel="Tab #2 word word">favorite</Text>
          <Text tabLabel="Tab #3 word word word">project</Text>
          <Text tabLabel="Tab #4 word word word word">favorite</Text>
          <Text tabLabel="Tab #5">project</Text>
        </ScrollableTabView>
      </View>
    );
  }
}
